package com.huang.PC.pcDemo;

import java.util.ArrayList;
import java.util.List;

public class t {
    public static void main(String[] args) {
        List<String> strings = new ArrayList<>();
        cDemo cDemo = new cDemo(strings);
        Pdemo pdemo = new Pdemo(strings);


        for (int i = 0; i < 3; i++) {
            new Thread(()->{
                cDemo.run();
            }).start();
        }

        for (int i = 0; i < 3; i++) {
            new Thread(()->{
                pdemo.run();
            }).start();
        }


    }
}
